const initialState = {count: 0};
const reducer = (state = initialState, action) => {
    switch (action.type) {
        case 'ADD_CONST':
            return {count: initialState.count + 1};
        case 'MINUS_CONST':
            return {count: initialState.count - 1};
        default:
            return state;
    }
};
export default reducer;
